import Home from "../pages/Home";
import MiApi from "../pages/MiApi";
import MiApiMockServer from "../pages/MiApiMockServer";

function componentMapping(path){
    switch(path){
        case "/home": return Home;
        case "/miapi/1": return MiApi;
        case "/miapi/apiMockServer": return MiApiMockServer;
        default:return null
    }
}

export default componentMapping;